<!DOCTYPE html	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="/template/template_layout_lrt.xhtml"
	xmlns:s="http://sduept.security.el/func">
	<ui:define name="head">
		<style>
.ui-dialog {
	top: 100px !important;
}

.col-md-9 .box-header {
	height: 0px;
	padding: 0px;
	margin: 0px;
}

.box-body {
	padding-top: 1px !important;
}

.col-md-9 .slimScrollDiv {
	height: 750px !important;
}
</style>
	</ui:define>
	<ui:define name="top-box-tools">
		<p:confirmDialog global="true" showEffect="fade" hideEffect="fade">
			<p:commandButton value="是" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check" />
			<p:commandButton value="否" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" />
		</p:confirmDialog>
		<p:growl id="msgs" showDetail="true" />
		<!-- 	<p:toolbar id="toolbar">
			<f:facet name="left">
			</f:facet>
		</p:toolbar -->>
	</ui:define>
	<ui:define name="left-box-title">
		检查表单
	</ui:define>
	<ui:define name="left-box-body">
		<p:tree value="#{standardLibController.root}" var="node" dynamic="true" id="tree" widgetVar="tree"
			animate="true" selectionMode="single" selection="#{standardLibController.selectedNode}"
			style="border:0">
			<!-- <p:ajax event="expand" update="tree :btnForm:savebtn"
				listener="#{organizationPermissionController.onNodeExpand}" /> -->
			<!-- <p:ajax event="select"
				update=":btnForm:btnBar :roleTreeForm:roleTree :rightForm :btnForm:savebtn"
				listener="#{organizationPermissionController.onNodeSelect}" /> -->
			<!-- 		<p:ajax event="unselect" update=":btnForm:btnBar :btnForm:btnBar :rightForm :btnForm:savebtn"
				listener="#{organizationPermissionController.onNodeUnSelect}" /> -->
			<p:treeNode type="form">
				<h:outputText value="#{node}" />
			</p:treeNode>
			<p:treeNode type="basic">
				<h:outputText value="#{node.name}" />
			</p:treeNode>
			<p:treeNode type="item">
				<h:outputText value="#{node.name}" />
			</p:treeNode>
			<p:treeNode type="standard">
				<h:outputText value="#{node.name}" />
			</p:treeNode>
		</p:tree>
	</ui:define>
	<ui:define name="right-box-body">
		<p:dataTable var="item" value="#{standardLibController.tableList}">
			<p:columnGroup type="header">
				<p:row style="font-size:18px;">
					<p:column colspan="4" headerText="南方电网220kV及以上变电站保护运行设备反事故措施精益化检查作业表单" />
				</p:row>
				<p:row>
					<p:column headerText="评价项目" />
					<p:column headerText="检查要素及要求" />
					<p:column headerText="评分标准" />
					<p:column headerText="检查参照依据" />
				</p:row>
			</p:columnGroup>
			<p:column>
				<h:outputText value="#{item.name}" />
			</p:column>
			<p:subTable var="pitem" value="#{item.children}">
				<p:column>
					<h:outputText value="#{pitem.name}" />
				</p:column>
				<p:subTable var="sitem" value="#{pitem.children}">
					<p:column >
						<h:outputText value="#{sitem.name}" />
					</p:column>
				</p:subTable> 
			</p:subTable>
			<p:column>
				<h:outputText value="#{item.docName}" />
			</p:column>
		</p:dataTable>
	</ui:define>

	<ui:define name="contentend">
	</ui:define>
</ui:composition>
